package com.kmis.entities;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;

import java.sql.Timestamp;
import java.lang.String;
import java.lang.Integer;

/**
 * 角色实体类。
 *
 * @author MLB
 * @since 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "", description = "")
@Table(value = "tbl_role")
public class Role {

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id")
    @Id(keyType = KeyType.Auto)
    private Integer id;

    /**
     * 角色名称
     */
    @ApiModelProperty(value = "角色名称")
    @Column(value = "name")
    private String name;

    /**
     * 角色权限标识符
     */
    @ApiModelProperty(value = "角色权限标识符")
    @Column(value = "code")
    private String code;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @Column(value = "create_time")
    private Timestamp createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    @Column(value = "update_time")
    private Timestamp updateTime;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    @Column(value = "remark")
    private String remark;


}
